package com.mtsmda.bookjava7.chapter1.interfaceses;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Set;
import java.util.TreeSet;
import java.util.stream.Stream;

public class Run {

	public static void main(String[] args) {
		
		System.out.println(SQLConstants.SELECT);
		System.out.println(SQLConstants.DISTINCT);
		System.out.println(SQLConstants.COUNT);
		System.out.println(SQLConstants.SUM);
		
		InterfaceParent interfaceParent = new Implementation();
		interfaceParent.parent1();
		interfaceParent.parent2();
		
		InterfaceChild interfaceChild = new Implementation();
		interfaceChild.parent1();
		interfaceChild.parent2();
		interfaceChild.child1();
		interfaceChild.child2();
		
		Collection<String> collection = new ArrayList<String>();
		collection.size();
		Stream<String> parallelStream = collection.parallelStream();
		System.out.println("\n" + parallelStream.toString());
		
		Set<String> set = new TreeSet<String>();
		set.size();
		
	}

}

class SqlImpl implements SQLConstants{
	
}